/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package serializar;

import java.io.ObjectOutputStream;
import java.net.Socket;

/**
 *
 * @author Rodrigo
 */
public class cliente {
    public static void main(String[] args) {
        System.out.println("cliente");
        /* Generación y verificación de firmas DSA  */
        Socket echoSocket = null;
        try {
            echoSocket = new Socket("172.19.14.111", 20000);
            ObjectOutputStream out= new ObjectOutputStream(echoSocket.getOutputStream());
            objeto pub=new objeto();
            out.writeObject(pub);

        } catch (Exception e) {
            System.err.println("Caught exception " + e.toString());
        }
    }
    
}
